import Vue from 'vue'
import Vuex from 'vuex'
// 导入
import users from './modules/users.js'
import outlines from './modules/outlines.js'
import classes from './modules/classes.js'
import items from './modules/items.js'
import papers from './modules/papers.js'
import answers from './modules/answers.js'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    users,
    outlines, // 这里是模块的引入 将outlines模块引入
    classes,
    items,
    papers,
    answers,
  }
})
